export default {
	// 返回上一页
	back() {
		let back = getCurrentPages();

		if (back && back.length > 1) {
			uni.navigateBack({
				delta: 1
			});
		} else {
			uni.switchTab({
				url: url.HomePageUrl
			})
		}
	},
}